﻿using Microsoft.Data.Edm;
using Microsoft.Data.OData.Query.SemanticAst;
using System;
namespace Microsoft.Data.OData.Query
{
    /// <summary>
    /// Class representing a single key property value in a key lookup.
    /// </summary>
    public sealed class KeyPropertyValue
    {
        /// <summary>
        /// Gets or sets the key property.
        /// </summary>
        public IEdmProperty KeyProperty
        {
            get;
            set;
        }
        /// <summary>
        /// Gets or sets the value of the key property.
        /// </summary>
        public SingleValueNode KeyValue
        {
            get;
            set;
        }
    }
}
